Module for EDI 9.12 | Building Services with EDI Module | Part I WmEDI Package | WmEDI Core Services | Summary of Elements in this Folder | wm.b2b.edi:createIDOCtemplate
 
wm.b2b.edi:createIDOCtemplate
WmEDI. If you are using the webMethods Adapter for SAP, this service creates a flat file schema for an IDOC by querying the SAP system for the IDOC name.
Make sure that the WmSAP package is installed and enabled. The wm.b2b.edi:createIDOCtemplate service internally calls the pub.sap.client:invoke service in the WmSAP package to invoke the SAP system, and if the WmSAP package is not enabled, the createIDOCtemplate service will fail.
Input Parameters
serverName
String The name of the SAP server, e.g., WMSAP1.
packageName
String The name of the Integration Server package in which to create the flat file schema.
targetFolder
String The name of the IS folder in which to create the flat file schema.
IDOCname
String The name of the IDOC on the SAP server, e.g., ORDERS02.
IDOCversion
String The version of the IDOC.
table
String (optional) Number used to control the segment name generation.
1: An IDOC segment will be generated as E1EDK14.
2: The same segment will be generated as E2EDK14.
CIMtype
String (optional) If this is unknown, do not specify.
recordDelimiter
String (optional) The delimiter character that separates each record. The default is the new line character.
targetDictionary
String The name of the flat file dictionary that will hold the record, field, and composite definitions for this flat file schema.
sourceDictionaries
String List (optional) Names of flat file dictionaries in which to search for definitions of records, fields, and composites. If a definition already exists, refer to it instead of creating a new entry in the targetDictionary.
overwrite
String (optional) Whether you want the createIDOCtemplate service to overwrite entries in the target dictionary if they already exist. Specify false or true.
Value
Meaning
false
Do not overwrite flat file dictionary entries in the target dictionary if the entries already exist. This is the default.
true
Overwrite existing dictionary entries with values specified by this IDOC. If you specify true for overwrite, the createIDOCtemplate service ignores the sourceDictionaries parameter.
Output Parameters
None.